FROM openjdk:8-jdk-alpine
VOLUME /tmp
Add target/demo-1.0.jar app.jar
RUN /bin/sh -c 'touch /app.jar'
EXPOSE 8080
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
